package org.jeecg.modules.buildingmanagement.service.impl;

import org.jeecg.modules.buildingmanagement.entity.Picture;
import org.jeecg.modules.buildingmanagement.mapper.PictureMapper;
import org.jeecg.modules.buildingmanagement.service.IPictureService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 房屋图片
 * @Author: jeecg-boot
 * @Date:   2019-10-09
 * @Version: V1.0
 */
@Service
public class PictureServiceImpl extends ServiceImpl<PictureMapper, Picture> implements IPictureService {
	
	@Autowired
	private PictureMapper pictureMapper;
	
	@Override
	public List<Picture> selectByMainId(String mainId) {
		return pictureMapper.selectByMainId(mainId);
	}
}
